package com.ailiwu.www.ailiwu.views;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

/**
 * Author:    XiYoung
 * Version    V1.0
 * Date:      2015/12/5 000511:18
 * Description:
 * Modification  History:
 * Date         	Author        		Version        	Description
 * -----------------------------------------------------------------------------------
 * 2015/12/5 0005       XiYoung              1.0                   1.0
 * Why & What is modified:
 */
public class OtherGridView extends GridView {

    public OtherGridView(Context paramContext, AttributeSet paramAttributeSet) {
        super(paramContext, paramAttributeSet);
    }

    @Override
    public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
                MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, expandSpec);
    }
}

